package com.rzjm.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 筒仓测距设备表
 *
 * @author mr.zhou
 * @email zhouwei_nice@163.com
 * @date 2020-12-15 22:36:23
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("ck_device_range_result")
public class DeviceRangeResult implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键
	@TableId(type = IdType.AUTO)
	private Integer id;
	private Integer shopId;
	private Integer deviceId;
	private String deviceName;
	private String deviceNum;

	/**
	 *  有效角度
	 */
	private Double effectiveAngle;

	private Integer deviceType;
	private String dataCode;

	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;

	private Double height;

	/**
	 *  当前数据的平均高度
	 */
	private Double volume;

	/**
	 *  重量
	 */
	private Double weight;

	/**
	 *  新算法重量
	 */
	private Double weightNew;

	/**
	 *  当前温度
	 */
	private String temperature;
	/**
	 *  当前湿度
	 */
	private String humidity;

	/**
	 * 筒仓  满仓状态  0 -  空仓  1 -  正常状态 2 - 满仓
	 */
	private Integer storeState;

	private String dataStr;
	private Double maxHeight;
	private Double minHeight;
	private Double lastHeight;

	/**
	 * 是否是测试人员测试的 0 -不是 1 - 是
	 */
	private Integer isTest;

	private Integer wxUserId;

	/**
	 *  记录保存的表名
	 */
	private String recordTableName;



	@TableField(exist = false)
	private Double totalWeightDunNew;



	@TableField(exist = false)
	private String shopName;


	@TableField(exist = false)
	private Integer isShowFull;
	@TableField(exist = false)
	private Integer isShowEmpty;

}
